package com.medvalley.tcm.service;

import com.medvalley.tcm.pojo.SickPojo;

import java.util.List;

public interface ISickService {

    SickPojo saveSickInfo(SickPojo sickPojo);

    SickPojo updateSickInfo(SickPojo sickPojo);

    SickPojo getSickInfoById(long id);

    SickPojo getSickInfoByBarCode(String barCode);

    /**
     * 根据身份证获取病历
     *
     * @param idNum
     * @return
     */
    List<SickPojo> getSickInfoByIdNum(String idNum);

    /**
     * 修改报告状态
     *
     * @param id
     * @return
     */
    SickPojo finishReport(long id);

}
